package com.ruoyi.proSystem.domain;

import java.util.List;
import java.util.Date;

import cn.hutool.core.date.DateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户评论对象 sys_shop_review
 *
 * @author ruoyi
 * @date 2024-07-30
 */
public class SysShopReview extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 商品表id */
    @Excel(name = "商品表id")
    private String basicId;
//    商品名称
    private String basicName;

    /** 规格id */
    @Excel(name = "规格id")
    private Long specificationId;
//    规格名称
    private String specificationName;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String nameInco;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String reviewName;

    /** 评价文字 */
    @Excel(name = "评价文字")
    private String written;

    /** 商品分数 */
    @Excel(name = "商品分数")
    private Long shopScore;

    /** 服务分数 */
    @Excel(name = "服务分数")
    private String serviceScore;

    /** 评价图片 */
    @Excel(name = "评价图片")
    private String reviewInco;

    /** 评价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reviewDate;

    /** 评价状态 */
    @Excel(name = "评价状态")
    private Long replyStatus;

    public String getBasicName() {
        return basicName;
    }

    public void setBasicName(String basicName) {
        this.basicName = basicName;
    }

    @Override
    public String toString() {
        return "SysShopReview{" +
                "id=" + id +
                ", basicId='" + basicId + '\'' +
                ", basicName='" + basicName + '\'' +
                ", specificationId=" + specificationId +
                ", specificationName='" + specificationName + '\'' +
                ", nameInco='" + nameInco + '\'' +
                ", reviewName='" + reviewName + '\'' +
                ", written='" + written + '\'' +
                ", shopScore=" + shopScore +
                ", serviceScore='" + serviceScore + '\'' +
                ", reviewInco='" + reviewInco + '\'' +
                ", reviewDate=" + reviewDate +
                ", replyStatus=" + replyStatus +
                ", reviewStatus=" + reviewStatus +
                ", reply='" + reply + '\'' +
                ", reviewId='" + reviewId + '\'' +
                ", pid=" + pid +
                ", sysShopReplyList=" + sysShopReplyList +
                '}';
    }

    public String getSpecificationName() {
        return specificationName;
    }

    public void setSpecificationName(String specificationName) {
        this.specificationName = specificationName;
    }

    public String getReply() {
        return reply;
    }

    public void setReply(String reply) {
        this.reply = reply;
    }

    public String getReviewId() {
        return reviewId;
    }

    public void setReviewId(String reviewId) {
        this.reviewId = reviewId;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long reviewStatus;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String reply;

    /** 评价表id */
    @Excel(name = "评价表id")
    private String reviewId;

    /** pid */
    @Excel(name = "pid")
    private Long pid;


    /** $table.subTable.functionName信息 */
    private List<SysShopReply> sysShopReplyList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBasicId(String basicId)
    {
        this.basicId = basicId;
    }

    public String getBasicId()
    {
        return basicId;
    }
    public void setSpecificationId(Long specificationId)
    {
        this.specificationId = specificationId;
    }

    public Long getSpecificationId()
    {
        return specificationId;
    }
    public void setNameInco(String nameInco)
    {
        this.nameInco = nameInco;
    }

    public String getNameInco()
    {
        return nameInco;
    }
    public void setReviewName(String reviewName)
    {
        this.reviewName = reviewName;
    }

    public String getReviewName()
    {
        return reviewName;
    }
    public void setWritten(String written)
    {
        this.written = written;
    }

    public String getWritten()
    {
        return written;
    }
    public void setShopScore(Long shopScore)
    {
        this.shopScore = shopScore;
    }

    public Long getShopScore()
    {
        return shopScore;
    }
    public void setServiceScore(String serviceScore)
    {
        this.serviceScore = serviceScore;
    }

    public String getServiceScore()
    {
        return serviceScore;
    }
    public void setReviewInco(String reviewInco)
    {
        this.reviewInco = reviewInco;
    }

    public String getReviewInco()
    {
        return reviewInco;
    }
    public void setReviewDate(Date reviewDate)
    {
        this.reviewDate = reviewDate;
    }

    public Date getReviewDate()
    {
        return reviewDate;
    }
    public void setReplyStatus(Long replyStatus)
    {
        this.replyStatus = replyStatus;
    }

    public Long getReplyStatus()
    {
        return replyStatus;
    }
    public void setReviewStatus(Long reviewStatus)
    {
        this.reviewStatus = reviewStatus;
    }

    public Long getReviewStatus()
    {
        return reviewStatus;
    }

    public List<SysShopReply> getSysShopReplyList()
    {
        return sysShopReplyList;
    }

    public void setSysShopReplyList(List<SysShopReply> sysShopReplyList)
    {
        this.sysShopReplyList = sysShopReplyList;
    }

}
